//
//  upLoadCollectioncellTwo.m
//  doubleEduStudents
//
//  Created by 盛洋 on 2021/1/29.
//  Copyright © 2021 shengYang. All rights reserved.
//

#import "upLoadCollectioncellTwo.h"

@implementation upLoadCollectioncellTwo

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.img_btn addTarget:self action:@selector(choosePicture) forControlEvents:UIControlEventTouchUpInside];
    [self.delete_btn addTarget:self action:@selector(deletePicture:) forControlEvents:UIControlEventTouchUpInside];
}

-(void)choosePicture{
    if ([self.delegate respondsToSelector:@selector(choosePicture)]) {
        [self.delegate choosePicture ];
    }
}

-(void)deletePicture:(UIButton *)sender{
    if ([_delegate respondsToSelector:@selector(deletePicture:)]) {
        [self.delegate deletePicture:sender];
    }
}

@end
